#ifndef HELPERS_COMMON_H
#define HELPERS_COMMON_H

namespace Opl
{
    namespace Helpers
    {
        struct ConnectorSetup
        {
            ConnectorSetup(const QString& h, int p, int rt):
                host(h),
                port(p),
                reconnectTime(rt)
            {}
            ConnectorSetup(): port(0), reconnectTime(0) {}
            QString host;
            int port;
            int reconnectTime; //<= 0 - disabled > 0 in seconds
        };


        enum ConnectionStatus
        {
            Disconnected,
            Connecting,
            Connected
        };

    }
}


#endif /* HELPERS_COMMON_H */
